﻿namespace com.savealot.SharePoint
{
    using System;

    public class CustomListDefnEventArgs : EventArgs
    {
        #region Constructors

        public CustomListDefnEventArgs( string rootFolderName, string title, string description )
            : this(rootFolderName, title, description, string.Empty)
        {
        }

        public CustomListDefnEventArgs( string rootFolderName, string title, string description, string exceptionMessage )
        {
            RootFolderName = rootFolderName;
            Title = title;
            Description = description;
            ExceptionMessage = exceptionMessage;
        }

        #endregion Constructors

        #region Properties

        public string Description
        {
            get;
            private set;
        }

        public string ExceptionMessage
        {
            get;
            private set;
        }

        public string RootFolderName
        {
            get;
            private set;
        }

        public string Title
        {
            get;
            private set;
        }

        #endregion Properties
    }
}